package com.budwk.app.enterprise.models;


import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @desc: 方法描述
 * @Author: laochiangx
 * @Date: 2024/3/8 16:09
 * @info:
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Table("dfxy_enterprise.wx_tender_information")
@Comment("招投标信息")
@ApiModel(description = "招投标信息实体")
public class TenderInformation  extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column
    @Name
    @Comment("ID")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(uu32 = true)
    private String id;

    // 发布日期
    @Column("release_date")
    @Comment("发布日期")
    @ApiModelProperty(description = "发布日期")
    private Date releaseDate;

    // 标题
    @Column("title")
    @Comment("标题")
    @ApiModelProperty(description = "标题")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String title;

    // 企业角色
    @Column("enterprise_role")
    @Comment("企业角色")
    @ApiModelProperty(description = "企业角色")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String enterpriseRole;

    // 省份地区
    @Column("province_region")
    @Comment("省份地区")
    @ApiModelProperty(description = "省份地区")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String provinceRegion;

    // 信息类型
    @Column("information_type")
    @Comment("信息类型")
    @ApiModelProperty(description = "信息类型")
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String informationType;

    // 采购人
    @Column("purchaser")
    @Comment("采购人")
    @ApiModelProperty(description = "采购人")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String purchaser;

    // 供应商
    @Column("supplier")
    @Comment("供应商")
    @ApiModelProperty(description = "供应商")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String supplier;

    // 中标金额
    @Column("winning_bid_amount")
    @Comment("中标金额")
    @ApiModelProperty(description = "中标金额")
    private BigDecimal winningBidAmount;
}
